package com.example.web.controller;

import com.example.common.model.NameModel;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {



    @RequestMapping("/k1")
    public String k1(){
        NameModel nameModel = new NameModel();
        nameModel.setName("Jack");

        return nameModel.getName();
    }
}
